import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import {
  Button,Icon,Grid,GridItem,Search,Image,
  Swipe,SwipeItem,NoticeBar,Tabbar,TabbarItem,
  Tabs,Tab,Form,Field,Toast,
  GoodsAction, GoodsActionIcon, GoodsActionButton,
  Sku,Cell, CellGroup, 
  SubmitBar,Checkbox,CheckboxGroup,Card,Stepper,
  ContactCard,AddressList,ActionSheet,Badge,AddressEdit,Area,
  Dialog, Step, Steps,
}from 'vant'
import 'vant/lib/index.css'

Vue.use(Button)
Vue.use(Icon).use(NoticeBar)
Vue.use(Grid).use(GridItem)
Vue.use(Search).use(Image)
Vue.use(Swipe).use(SwipeItem)
Vue.use(Tabbar).use(TabbarItem)
Vue.use(Tabs).use(Tab)
Vue.use(Form).use(Field).use(Toast)
Vue.use(GoodsAction).use(GoodsActionButton).use(GoodsActionIcon)
Vue.use(Sku)
Vue.use(Cell).use(CellGroup)
Vue.use(SubmitBar).use(Checkbox).use(CheckboxGroup).use(Card).use(Stepper)
Vue.use(ContactCard).use(AddressList).use(ActionSheet).use(Badge)
Vue.use(AddressEdit).use(Area).use(Dialog).use(Step).use(Steps)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
